/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.statistics;


import com.enation.app.javashop.client.statistics.RefundDataClient;
import com.enation.app.javashop.core.client.fallback.statistics.RefundDataClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import com.enation.app.javashop.model.statistics.dto.RefundData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 退货收集manager
 *
 * @author chopper
 * @version v1.0
 * @Description:
 * @since v7.0
 * 2018/5/8 下午4:10
 */

@FeignClient(name = "statistics-service", fallbackFactory = RefundDataClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface RefundDataClientFeignImpl extends RefundDataClient {

    /**
     * 退款消息写入
     *
     * @param refundData
     */
    @Override
    @RequestMapping(value = "/client/statistics/refund/put", method = RequestMethod.POST)
    void put(@RequestBody RefundData refundData);

}
